package com.taoym.voucher.admin.entity.dto;

import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @coder taoym
 * @datetime 2021/7/2 10:17
 * @desc
 */
@Data
public class XcxGenerateActivityDTO implements Serializable {

    @ApiParam(value = "活动ID")
    @NotNull(message = "活动ID不能为空")
    private Integer actId;
    @NotBlank(message = "用户uid不能为空")
    @ApiParam(value = "用户uid")
    private String uid;
    @ApiParam(value = "活动标题")
    private String title;
}
